<template>
  <div class="patientList">
    <navBar :name="'病人列表(排序)'" />
    <div class="visitRecord_top">
      <div class="visitRecord_top_box active">时间</div>
      <div class="visitRecord_top_box">病人</div>
      <div class="visitRecord_top_box">处方</div>
    </div>
    <list />
  </div>
</template>



<script>
import list from "@/components/commonComponents/visitRecord/list.vue";
import navBar from "@/components/commonComponents/navBar.vue";
import {reactive} from "vue";
import axios from "axios";

const form = new FormData();
form.append("roomId", "");
form.append("content", "");
form.append("chatType", "");

const options = {
  method: 'GET',
  url: 'http://106.54.189.155:6768/user/patientInfoById',
  params: {id: '5'},
  headers: {
    authorization: '',
    'content-type': 'multipart/form-data; boundary=---011000010111000001101001'
  },
  data: '[form]'
};
axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});

export default {
  name: "patientList",
  components: { navBar,list },
  data(){
    return{
        healthCare:'',
        gmsInfo:'',
        createTime:'',
    }
  },

};
</script>

<style lang="scss" scope>
.patientList {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background-color: #fafafa;
  z-index: 11;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.visitRecord {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 40px;
  overflow-y: scroll;
  background-color: #fafafa;
  &_top {
    padding: 10px 0 0 0;
    display: flex;
    height: 45px;
    max-height: 50px;
    background-color: #fff;
    &_box {
      position: relative;
      justify-content: center;
      flex: 1;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
}
</style>
